/*
 * File:   hcvardefnode.h
 * Author: benoybose
 *
 * Created on May 13, 2012, 11:51 PM
 */

#ifndef HCVARDEFNODE_H
#define	HCVARDEFNODE_H

#include "hccodenode.h"
#include "hcstring.h"
#include "hcidnode.h"


typedef struct _hcvardefnode
{
    int node_type;
    xml_serialize to_xml;
    hcidnode* var_name;
    hccodenode* var_type;
    hccodenode* var_init;
} hcvardefnode;

hcvardefnode* hcvarfdefnode_create(hcidnode* name,
	hccodenode* type,
	hccodenode* value);
char* hcvardefnode_to_xml();

#endif	/* HCVARDEFNODE_H */

